package com.fuhaiwei.struts.action;

import com.fuhaiwei.domain.service.RegisterService;

public abstract class RegisterAction extends DefaultAction {

	private String username;
	private String password;
	private String password2;

	private RegisterService registerService;

	public abstract String execute() throws Exception;

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPassword2() {
		return password2;
	}

	public void setPassword2(String password2) {
		this.password2 = password2;
	}

	public RegisterService getRegisterService() {
		return registerService;
	}

	public void setRegisterService(RegisterService registerService) {
		this.registerService = registerService;
	}

}
